package cn.com.thinvent.dispatch.service.biz;

import cn.com.thinvent.dispatch.entity.ShoppingCart;
import cn.com.thinvent.dispatch.entity.response.PagedGridResult;

import java.util.List;

public interface ShoppingCartService {

    Integer addCarts(List<String> carts);

    PagedGridResult<ShoppingCart> getCartsByUserIdPaged(String createdById, int page, int pageSize);

    int deleteByMenuIdAndCreatedById(String menuId, String createdById);
}
